﻿namespace Traffic.Entity;

/// <summary>
/// 员工考核记录表
/// </summary>
public partial class BusinessStaffKpiscore
{
    public int Id { get; set; }

    /// <summary>
    /// 商户ID，对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 评分人ID
    /// </summary>
    public int ManagerId { get; set; }

    /// <summary>
    /// 考核人姓名
    /// </summary>
    public string? ManagerName { get; set; }

    /// <summary>
    /// 被考核人ID
    /// </summary>
    public int StaffId { get; set; }

    /// <summary>
    /// 被考核人姓名
    /// </summary>
    public string? StaffName { get; set; }

    /// <summary>
    /// 考核项ID，对应Business_JobGradeKPI.ID
    /// </summary>
    public int Kpiid { get; set; }

    /// <summary>
    /// 考核项名称，对应Business_JobGradeKPI.KPIName
    /// </summary>
    public string Kpiname { get; set; } = null!;

    /// <summary>
    /// 得分 可为小数
    /// </summary>
    public double Score { get; set; }

    /// <summary>
    /// 评分日
    /// </summary>
    public DateTime ScoreDate { get; set; }

    /// <summary>
    /// 评语
    /// </summary>
    public string? Description { get; set; }
}
